home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15946 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  944 b 

  1. Path: digex.net!not-for-mail
  2. From: johne@cpcug.org (John Emmerling)
  3. Newsgroups: comp.lang.c++
  4. Subject: Rogue Wave: assign RWCSubString to RWCString (how does it work?)
  5. Date: 8 Apr 1996 19:10:45 -0400
  6. Organization: Capital PC User Group, Inc., Rockville, Maryland, USA
  7. Message-ID: <4kc6dl$d58@cpcug.org>
  8. NNTP-Posting-Host: cpcug.org
  9.  
  10. In Rogue Wave's documentation of the RWCTokenizer class there is an
  11. example of using the "()" operator which returns an RWCSubString.  The
  12. return value is stored in an RWCString.  Yes the code example works, 
  13. however I am at a loss to understand how.
  14.  
  15. I can't find any "=" operator, type conversion, etc. that would support
  16. assigning an RWCSubString to an RWCString.  I have noticed that subclasses
  17. of RWCString do not inherit this ability i.e. you can't assign an
  18. RWCSubString to an instance one of these.
  19.  
  20. Admittedly this is not a life-or-death issue but golly it has me stumped!
  21.  
  22. Regards,
  23. --
  24. John Emmerling
  25.  
  26.